Skip to main content

getNativeThemeName

Type

handler

Summary

Get the canonical name of the current "native" mobile theme

Syntax

getNativeThemeName()

Description

Returns the name of the current theme that should be used when the theme is "native".

Currently, this will return either "iOS" or "Android".

Examples

variable tNativeTheme as String
put getNativeThemeName() into tNativeTheme

if tNativeTheme is "android" then
-- Draw Android themed UI
else
-- Draw iOS themed UI
end if